package com.zqserver.interfaces.user.dao;

import com.zqserver.interfaces.user.model.TZqUser;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface TZqUserMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(TZqUser record);

    int insertSelective(TZqUser record);

    TZqUser selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(TZqUser record);

    int updateByPrimaryKey(TZqUser record);

    /**
     * 描述：分页查询用户
     *
     * @author zhouquan
     * @date 2018/3/22 16:01
     */
    List<TZqUser> listUserPage(@Param("name") String name);
}